From df888d6cce6a31e55eac4e21ccd496ce6023dfeb Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 6 Jul 2023 18:24:47 +0100 Subject: Add int-equals instruction --- ....shedlang.compiler.testing.snapshots.Snapshotter)].expected | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntEqualsTests]/[method:intEqualsIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntEqualsTests]/[method:intEqualsIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntEqualsTests]/[method:intEqualsIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntEqualsTests]/[method:intEqualsIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected new file mode 100644 index 00000000..2bccb04c --- /dev/null +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntEqualsTests]/[method:intEqualsIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -0,0 +1,10 @@ +Stack: + * %tmp__1 + * %a + +Module: +define void @f() { + %tmp__0 = icmp eq i64 %b, %c + %tmp__1 = zext i1 %tmp__0 to i64 + ret void +} -- cgit v1.2.3